import Vue from 'vue'
import Router from 'vue-router'
import product from '@/components/product'
import update from '@/components/update'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'product',
      component: product
    },
    {
      path:"/update",
      name:"update",
      component:update
    }
  ]
})
